/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package py.una.pol.ejb.compraventa.dao;

import java.util.List;

/**
 *
 * @author claudia
 */
public interface GenericDao<T> {

    T findById(Object id);

    void insert(T object);

    void update(T object);

    void delete(T object);

    //public T find(Object id) throws Exception;
    public List<T> findAll();
    //List<T> findEntities();
    //  public Class getClassOfT();
}
